package org.jeecg.modules.flowable.service.action.impl;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.flowable.service.action.ActionBody;
import org.jeecg.modules.flowable.service.action.ActionExec;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Title:  流程驳回<br>
 * Desc:  <br>
 * Date: 9/27/22 10:37 AM <br>
 * Company: 联通（辽宁）产业互联网有限公司 <br>
 *
 * @author zxd
 * @version 1.0.0
 */
@Service("Back")
@Slf4j
public class Back implements ActionExec {

    @Autowired
    private Fallback fallback;
    @Override
    public boolean deal(ActionBody argActionBody,String argActionFunname,String argActionFuncode) {
        // 默认走回退流程。
        boolean deal = fallback.deal(argActionBody, argActionFunname,argActionFuncode);
        return deal;
    }
}